package com.gpscookie.vocabularystory;

import junit.framework.TestCase;

public class TestMain extends TestCase {

	protected void setUp() throws Exception {
		super.setUp();
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}
	
	public void testLeverageShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbooksix.txt"};
		Main.subtitle = "data/leverages01e11.srt";	
		Main.BOOKTITLE = "Leverage S01E11";
		Main.BOOKID = "leverages01e11";		
		Main.work(null);
	}

	public void testLeverage() {
		Main.LIMIT = 9999;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbooksix.txt"};
		Main.subtitle = "data/leverages01e11.srt";	
		Main.BOOKTITLE = "Leverage S01E11";
		Main.BOOKID = "leverages01e11";		
		Main.work(null);
	}
	
	public void testBookOne() {
		Main.LIMIT = 9999;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt"};
		Main.subtitle = "data/bookone.txt";	
		Main.BOOKTITLE = "大学精读第一册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sY5IMCDA";		
		Main.work(null);
	}

	public void testBookTwo() {
		Main.LIMIT = 9999;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbookone.txt"};
		Main.subtitle = "data/booktwo.txt";	
		Main.BOOKTITLE = "大学精读第二册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sY5psCDA";		
		Main.work(null);
	}
	
	public void testBookThree() {
		Main.LIMIT = 9999;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbooktwo.txt"};
		Main.subtitle = "data/bookthree.txt";	
		Main.BOOKTITLE = "大学精读第三册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sYv4UCDA";		
		Main.work(null);
	}
	
	public void testBookFour() {
		Main.LIMIT = 9999;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbookthree.txt"};
		Main.subtitle = "data/bookfour.txt";	
		Main.BOOKTITLE = "大学精读第四册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sYyY0CDA";		
		Main.work(null);
	}
	
	public void testBookFive() {
		Main.LIMIT = 9999;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbookfour.txt"};
		Main.subtitle = "data/bookfive.txt";	
		Main.BOOKTITLE = "大学精读第五册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sY98MCDA";		
		Main.work(null);
	}

	public void testBookSix() {
		Main.LIMIT = 9999;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbookfive.txt"};
		Main.subtitle = "data/booksix.txt";	
		Main.BOOKTITLE = "大学精读第六册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sY1qUCDA";		
		Main.work(null);
	}
	

	public void testBookThreeShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbooktwo.txt"};
		Main.subtitle = "data/bookthree.txt";	
		Main.BOOKTITLE = "大学精读第三册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sYv4UCDA";		
		Main.work(null);
	}

	public void testBookFourShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbookthree.txt"};
		Main.subtitle = "data/bookfour.txt";	
		Main.BOOKTITLE = "大学精读第四册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sYyY0CDA";		
		Main.work(null);
	}

	public void testBookFiveShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbookfour.txt"};
		Main.subtitle = "data/bookfive.txt";	
		Main.BOOKTITLE = "大学精读第五册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sY98MCDA";		
		Main.work(null);
	}

	public void testBookSixShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbookfive.txt"};
		Main.subtitle = "data/booksix.txt";	
		Main.BOOKTITLE = "大学精读第六册";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sY1qUCDA";		
		Main.work(null);
	}

	public void testInceptionShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbooksix.txt"};
		Main.subtitle = "data/inception.srt";	
		Main.BOOKTITLE = "盗梦空间";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sYuZICDA";		
		Main.work(null);
	}

	public void testHeyJudeShort() {
		Main.LIMIT = 100;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{};
		Main.subtitle = "data/heyjude.txt";	
		Main.BOOKTITLE = "Hey Jude";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sY3ooCDA";		
		Main.work(null);
	}

	public void testLoveStoryShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{};
		Main.subtitle = "data/lovestory.ssa";	
		Main.BOOKTITLE = "Love Story";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sYr5QBDA";		
		Main.work(null);
	}	

	public void testBigBangShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbooksix.txt"};
		Main.subtitle = "data/bigbangs04e15.srt";	
		Main.BOOKTITLE = "生活大爆炸S04E15";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sYp6ECDA";		
		Main.work(null);
	}	

	public void testFriendsShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbooksix.txt"};
		Main.subtitle = "data/friends0101.ass";	
		Main.BOOKTITLE = "老友记S01E01";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sYsYICDA";		
		Main.work(null);
	}	

	public void testShawshankRedemptionShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt", "data/basicbooksix.txt"};
		Main.subtitle = "data/shawshankredemption.srt";	
		Main.BOOKTITLE = "肖申克的救赎";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sY2JsBDA";		
		Main.work(null);
	}	

	public void testGenesisShort() {
		Main.LIMIT = 60;
		Main.isTranslate = true;
		Main.isSave = false;
		Main.ruleOutBasic = true;
		Main.showContext = false;
		Main.showRuleOut = false;
		Main.BASICLIST = new String[]{"data/basic.txt"};
		Main.subtitle = "data/genesis.txt";	
		Main.BOOKTITLE = "Bible - Genesis";
		Main.BOOKID = "ag92b2NhYnVsYXJ5c3RvcnlyDAsSBEJvb2sY77gBDA";		
		Main.work(null);
	}	
	
	
	
}
